package com.yuan.department;

import com.yuan.department.dao.IEmpDao;
import com.yuan.department.dao.impl.EmpDaoImpl;
import com.yuan.department.entity.Emp;
import org.junit.Test;

import java.sql.SQLException;
import java.util.List;

/**
 * @program: Train
 * @description:
 * @author: yuan_boss
 * @create: 2022-11-23 17:31
 **/
public class EmpDaoImplTest {
    private IEmpDao dao = new EmpDaoImpl();

    @Test
    public void selectList() throws SQLException {
        List<Emp> emps = dao.selectList();
        emps.forEach(System.out::println);
    }
}
